package com.cenntro.common.job;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

@Target({java.lang.annotation.ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ElasticSimpleJob
{
  @AliasFor("cron")
  String value() default "";
  
  @AliasFor("value")
  String cron() default "";
  
  String jobName() default "";
  
  int shardingTotalCount() default 1;
  
  String shardingItemParameters() default "";
  
  String jobParameter() default "";
  
  String dataSource() default "";
  
  String description() default "";
  
  boolean disabled() default false;
  
  boolean overwrite() default true;
}
